
public class CustomerWithGetSet
{
	private String custName="";
	private int custAge=0;
	private String custAddress="";
	private String custPhone="";
	private String custEmail="reenu1@gmail.com";
	private String custUsername="";
	private String custPassword="";
	private boolean loggedIn=false;
	private int custId=0;
	
	public String getCustName() {
		return custName;
	}


	public void setCustName(String custName) {
		this.custName = custName;
	}


	public int getCustAge() {
		return custAge;
	}


	public void setCustAge(int custAge) {
		this.custAge = custAge;
	}


	public String getCustAddress() {
		return custAddress;
	}


	public void setCustAddress(String custAddress) {
		this.custAddress = custAddress;
	}


	public String getCustPhone() {
		return custPhone;
	}


	public void setCustPhone(String custPhone) {
		this.custPhone = custPhone;
	}


	public String getCustEmail() {
		return custEmail;
	}


	public void setCustEmail(String custEmail) {
		this.custEmail = custEmail;
	}


	public String getCustUsername() {
		return custUsername;
	}


	public void setCustUsername(String custUsername) {
		this.custUsername = custUsername;
	}


	public String getCustPassword() {
		return custPassword;
	}


	public void setCustPassword(String custPassword) {
		this.custPassword = custPassword;
	}


	public boolean isLoggedIn() {
		return loggedIn;
	}


	public void setLoggedIn(boolean loggedIn) {
		this.loggedIn = loggedIn;
	}


	public int getCustId() {
		return custId;
	}


	public void setCustId(int custId) {
		this.custId = custId;
	}
	
	
	
	
	boolean checkCustomer(String emailFromDemo)
	      {
		     if (custEmail.equalsIgnoreCase(emailFromDemo))
		     {
		    	 return true;
		     }
		     else
		     {
		    	 return false;
		     }
		    	 
		
	      }
	
	
}
